package com.dyypdadmin.service;

import com.dyypdadmin.pojo.Doctors;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorsService {
    List<Doctors> getDoctersList();
    // 添加医生信息
    int addDoctor(String doctor_name,
                  String doctor_gender,
                  String expertise, Integer years_of_experience,String contact_number);
    //更新医生信息
    int updateDoctor(Doctors doctor);
    //删除医生
    int delDoctor(@Param("doctor_id")int doctor_id);
    //根据医生名字模糊查询
    List<Doctors> getDoctorByName(String doctor_name);
}
